package cn.meibang.meibanguserandclient.api;

import cn.meibang.meibanguserandclient.provider.request.ListMeibangUserAndClientRequest;
import cn.meibang.meibanguserandclient.provider.request.MeibangUserAndClientRequest;
import cn.meibang.meibanguserandclient.provider.response.MeibangUserAndClientResponse;

import java.util.List;

/**
 * 业务管理客 <br>
 *
 * @author yudw
 * @version 1.0
 */
public interface IMeibangUserAndClientAPIService {

    /**
     * 新增业务管理客
     *
     * @param request
     */
    public void addorUpdate(MeibangUserAndClientRequest request);

    /**
     * 删除业务管理客
     *
     * @param id
     */
    public void del(Long id);

    /**
     * 查询分页
     *
     * @param request
     */
    public List<MeibangUserAndClientResponse> lisForPage(ListMeibangUserAndClientRequest request);

    /**
     * 查询不分页
     *
     * @param request
     */
    public List<MeibangUserAndClientResponse> list(MeibangUserAndClientRequest request);

    /**
     * 批量插入
     *
     * @param list
     */
    public void insertList(List<MeibangUserAndClientRequest> list);
}